.class final Lcom/fiberhome/gaea/client/d/o;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Ljava/lang/String;

.field final synthetic b:Landroid/content/Context;


# direct methods
.method constructor <init>(Ljava/lang/String;Landroid/content/Context;)V
    .locals 0

    iput-object p1, p0, Lcom/fiberhome/gaea/client/d/o;->a:Ljava/lang/String;

    iput-object p2, p0, Lcom/fiberhome/gaea/client/d/o;->b:Landroid/content/Context;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 3

    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    :cond_0
    :goto_0
    :pswitch_0
    return-void

    :pswitch_1
    iget v0, p1, Landroid/os/Message;->arg1:I

    packed-switch v0, :pswitch_data_1

    goto :goto_0

    :pswitch_2
    const-string/jumbo v0, "\u84dd\u7259\u8c03\u8bd5"

    const-string/jumbo v1, "\u7b49\u5f85\u8fde\u63a5....."

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    sget-object v0, Lcom/fiberhome/gaea/client/d/k;->c:Lcom/fiberhome/gaea/client/d/q;

    if-eqz v0, :cond_0

    sget-object v0, Lcom/fiberhome/gaea/client/d/k;->c:Lcom/fiberhome/gaea/client/d/q;

    invoke-interface {v0}, Lcom/fiberhome/gaea/client/d/q;->e()V

    goto :goto_0

    :pswitch_3
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    if-eqz v0, :cond_2

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v0

    iget-object v0, v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->e:Lcom/waiqin365/base/print/b;

    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v2, "GBK"

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/print/b;->a(Ljava/lang/String;Ljava/lang/String;)V

    :cond_1
    :goto_1
    const-string/jumbo v0, "\u84dd\u7259\u8c03\u8bd5"

    const-string/jumbo v1, "\u5df2\u8fde\u63a5....."

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    sget-object v0, Lcom/fiberhome/gaea/client/d/k;->c:Lcom/fiberhome/gaea/client/d/q;

    if-eqz v0, :cond_3

    sget-object v0, Lcom/fiberhome/gaea/client/d/k;->c:Lcom/fiberhome/gaea/client/d/q;

    invoke-interface {v0}, Lcom/fiberhome/gaea/client/d/q;->a()V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/fiberhome/gaea/client/d/o;->a:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v0

    iget-object v0, v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->e:Lcom/waiqin365/base/print/b;

    iget-object v1, p0, Lcom/fiberhome/gaea/client/d/o;->a:Ljava/lang/String;

    const-string/jumbo v2, "GBK"

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/print/b;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_1

    :cond_3
    iget-object v0, p0, Lcom/fiberhome/gaea/client/d/o;->b:Landroid/content/Context;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/fiberhome/gaea/client/d/o;->b:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    invoke-virtual {v0}, Landroid/app/Activity;->isFinishing()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/fiberhome/gaea/client/d/o;->b:Landroid/content/Context;

    iget-object v1, p0, Lcom/fiberhome/gaea/client/d/o;->b:Landroid/content/Context;

    const v2, 0x7f080054

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto :goto_0

    :pswitch_4
    const-string/jumbo v0, "\u84dd\u7259\u8c03\u8bd5"

    const-string/jumbo v1, "\u6b63\u5728\u8fde\u63a5....."

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    sget-object v0, Lcom/fiberhome/gaea/client/d/k;->c:Lcom/fiberhome/gaea/client/d/q;

    if-eqz v0, :cond_0

    sget-object v0, Lcom/fiberhome/gaea/client/d/k;->c:Lcom/fiberhome/gaea/client/d/q;

    invoke-interface {v0}, Lcom/fiberhome/gaea/client/d/q;->d()V

    goto/16 :goto_0

    :pswitch_5
    sget-object v0, Lcom/fiberhome/gaea/client/d/k;->c:Lcom/fiberhome/gaea/client/d/q;

    if-eqz v0, :cond_4

    sget-object v0, Lcom/fiberhome/gaea/client/d/k;->c:Lcom/fiberhome/gaea/client/d/q;

    invoke-interface {v0}, Lcom/fiberhome/gaea/client/d/q;->b()V

    goto/16 :goto_0

    :cond_4
    iget-object v0, p0, Lcom/fiberhome/gaea/client/d/o;->b:Landroid/content/Context;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/fiberhome/gaea/client/d/o;->b:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    invoke-virtual {v0}, Landroid/app/Activity;->isFinishing()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/fiberhome/gaea/client/d/o;->b:Landroid/content/Context;

    iget-object v1, p0, Lcom/fiberhome/gaea/client/d/o;->b:Landroid/content/Context;

    const v2, 0x7f080055

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :pswitch_6
    sget-object v0, Lcom/fiberhome/gaea/client/d/k;->c:Lcom/fiberhome/gaea/client/d/q;

    if-eqz v0, :cond_5

    sget-object v0, Lcom/fiberhome/gaea/client/d/k;->c:Lcom/fiberhome/gaea/client/d/q;

    invoke-interface {v0}, Lcom/fiberhome/gaea/client/d/q;->c()V

    goto/16 :goto_0

    :cond_5
    iget-object v0, p0, Lcom/fiberhome/gaea/client/d/o;->b:Landroid/content/Context;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/fiberhome/gaea/client/d/o;->b:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    invoke-virtual {v0}, Landroid/app/Activity;->isFinishing()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/fiberhome/gaea/client/d/o;->b:Landroid/content/Context;

    iget-object v1, p0, Lcom/fiberhome/gaea/client/d/o;->b:Landroid/content/Context;

    const v2, 0x7f080053

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/fiberhome/gaea/client/d/o;->b:Landroid/content/Context;

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/k;->c(Landroid/content/Context;)V

    goto/16 :goto_0

    :pswitch_7
    sget-object v0, Lcom/fiberhome/gaea/client/d/k;->c:Lcom/fiberhome/gaea/client/d/q;

    if-eqz v0, :cond_6

    sget-object v0, Lcom/fiberhome/gaea/client/d/k;->c:Lcom/fiberhome/gaea/client/d/q;

    invoke-interface {v0}, Lcom/fiberhome/gaea/client/d/q;->f()V

    goto/16 :goto_0

    :cond_6
    iget-object v0, p0, Lcom/fiberhome/gaea/client/d/o;->b:Landroid/content/Context;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/fiberhome/gaea/client/d/o;->b:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    invoke-virtual {v0}, Landroid/app/Activity;->isFinishing()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/fiberhome/gaea/client/d/o;->b:Landroid/content/Context;

    iget-object v1, p0, Lcom/fiberhome/gaea/client/d/o;->b:Landroid/content/Context;

    const v2, 0x7f080665

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :pswitch_8
    sget-object v0, Lcom/fiberhome/gaea/client/d/k;->c:Lcom/fiberhome/gaea/client/d/q;

    if-eqz v0, :cond_7

    sget-object v0, Lcom/fiberhome/gaea/client/d/k;->c:Lcom/fiberhome/gaea/client/d/q;

    invoke-interface {v0}, Lcom/fiberhome/gaea/client/d/q;->g()V

    goto/16 :goto_0

    :cond_7
    iget-object v0, p0, Lcom/fiberhome/gaea/client/d/o;->b:Landroid/content/Context;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/fiberhome/gaea/client/d/o;->b:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    invoke-virtual {v0}, Landroid/app/Activity;->isFinishing()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/fiberhome/gaea/client/d/o;->b:Landroid/content/Context;

    iget-object v1, p0, Lcom/fiberhome/gaea/client/d/o;->b:Landroid/content/Context;

    const v2, 0x7f080663

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/fiberhome/gaea/client/d/o;->b:Landroid/content/Context;

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/k;->c(Landroid/content/Context;)V

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_1
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_5
        :pswitch_6
        :pswitch_7
        :pswitch_8
    .end packed-switch

    :pswitch_data_1
    .packed-switch 0x0
        :pswitch_2
        :pswitch_2
        :pswitch_4
        :pswitch_3
    .end packed-switch
.end method
